home *** CD-ROM | disk | FTP | other *** search
/ Millenium Advanced Salon-Spa Management / Millenium Advanced Salon-Spa Management (Harms Software) (2003).iso / bin / millennium / Data1.cab / spchapi.exe / RCDATA / CABINET / VCMD.EXE / BINARY / 116 < prev    next >
Text (UTF-16)  |  1999-01-12  |  20KB  |  443 lines

  1. // This grammar is for built-in grammars for continuous dictation
  2.  
  3. [Grammar]
  4. langid=1033
  5. type=cfg
  6.  
  7. ; need a <start> rule. This is activated when SR Mode = Dct+Cmd
  8. [<Start>]
  9. <Start> = <StartDctCmd>
  10. <Start> = <StartDctOnly>
  11. <Start> = [!CFG] (ChangeSelect)
  12.  
  13. [<StartDctCmd>]
  14. <StartDctCmd> = (CrossOutCmd)
  15. <StartDctCmd> = (Capitalize)
  16. <StartDctCmd> = (Navigate)
  17. <StartDctCmd> = (CorrectionWindow)
  18. <StartDctCmd> = (TypeDate)
  19. <StartDctCmd> = (Selection)
  20. <StartDctCmd> = (ChooseMode)
  21. <StartDctCmd> = (Spelling)
  22. <StartDctCmd> = (Bullets)
  23. <StartDctCmd> = (Move)
  24.  
  25. ; need a <startdctonly> rule. This is activated when SR Mode = Dct only
  26. ; this allows the user to say computer before a command
  27. [<StartDctOnly>]
  28. <StartDctOnly> = (CrossOut)
  29. <StartDctOnly> = (Choose)
  30. <StartDctOnly> = (DictationOnOff)
  31. <StartDctOnly> = computer <StartDctCmd>
  32. <StartDctOnly> = [!CFG] computer (ChangeSelect)
  33. <StartDctOnly> = [!CFG] (ChangeSelect)
  34.  
  35.  
  36. [<1..99a>]
  37. <1..99a>=a "1"
  38. <1..99a>=<1..99>
  39.  
  40. [<1..99>]
  41. <1..99>=<1..9>
  42. <1..99>=ten "10"
  43. <1..99>=eleven "11"
  44. <1..99>=twelve "12"
  45. <1..99>=thirteen "13"
  46. <1..99>=fourteen "14"
  47. <1..99>=fifteen "15"
  48. <1..99>=sixteen "16"
  49. <1..99>=seventeen "17"
  50. <1..99>=eighteen "18"
  51. <1..99>=nineteen "19"
  52. <1..99>=twenty "20"
  53. <1..99>=thirty "30"
  54. <1..99>=forty "40"
  55. <1..99>=fifty "50"
  56. <1..99>=sixty "60"
  57. <1..99>=seventy "70"
  58. <1..99>=eighty "80"
  59. <1..99>=ninety "90"
  60. <1..99>=twenty "2" <1..9>
  61. <1..99>=thirty "3" <1..9>
  62. <1..99>=forty "4" <1..9>
  63. <1..99>=fifty "5" <1..9>
  64. <1..99>=sixty "6" <1..9>
  65. <1..99>=seventy "7" <1..9>
  66. <1..99>=eighty "8" <1..9>
  67. <1..99>=ninety "9" <1..9>
  68.  
  69. [<1..9>]
  70. <1..9>=one "1"
  71. <1..9>=two "2"
  72. <1..9>=three "3"
  73. <1..9>=four "4"
  74. <1..9>=five "5"
  75. <1..9>=six "6"
  76. <1..9>=seven "7"
  77. <1..9>=eight "8"
  78. <1..9>=nine "9"
  79.  
  80. [(WordUnit)]
  81. 0x100=word
  82. 0x100=words
  83. 0x300=sentence
  84. 0x300=sentences
  85. 0x500=paragraph
  86. 0x500=paragraphs
  87. 0x700=character
  88. 0x700=characters
  89.  
  90. [(WordUnit2)]
  91. 0x500=line
  92. 0x500=lines
  93.  
  94.  
  95. [(CrossOut)]
  96. 1=cross out
  97. 1=scratch that
  98. 5=cross out phrase
  99.  
  100. [(CrossOutCmd)]
  101. =(CrossDelete) (CrossOut2)
  102.  
  103. [(CrossOut2)]
  104. ;1=(ThisThat)
  105. 1=[opt] the selection
  106. 2=<1..99> (WordUnit)
  107. 2=(LastPrevious) [opt] <1..99> (WordUnit)
  108. 3=[opt] the next [opt] <1..99>  (WordUnit)
  109. 4=[opt] a (WordUnit)
  110. 4=[opt] this (WordUnit)
  111.  
  112. [(ThisThat)]
  113. =this
  114. =that
  115.  
  116. [(CrossDelete)]
  117. =cross out
  118. =delete
  119. =remove
  120.  
  121. [(LastPrevious)]
  122. =[opt] the last
  123. =[opt] the previous
  124.  
  125.  
  126. [(Capitalize)]
  127. =(Caps) (Capitalize2)
  128.  
  129. [(Capitalize2)]
  130. 11=that
  131. 13=[opt] the next [opt] <1..99> (WordUnit)
  132. 14=(LastPrevious) [opt] <1..99> (WordUnit)
  133. 15=this [opt] (WordUnit)
  134.  
  135. [(Caps)]
  136. 0xA000=capitalize
  137. 0xB000=lower case
  138. 0xB000=uncapitalize
  139. 0xC000=toggle case on
  140. 0xD000=all caps
  141. 0xE000=remove spaces from
  142. 0xF000=compress
  143.  
  144. [(Back)]
  145. =back
  146. =backwards
  147.  
  148. [(Forward)]
  149. =forward
  150. =forwards
  151.  
  152. [(Navigate)]
  153. 20=go (Back) <1..99a> [opt] (WordUnit)
  154. 22=go (Forward) <1..99a> [opt] (WordUnit)
  155. =go to [opt] the (Navigate2)
  156.  
  157. [(Navigate2)]
  158. 21=<Begin> of [opt] the (WordUnit)
  159. 23=end of [opt] the (WordUnit)
  160. 24=<Begin> [opt] <NavigateJunk>
  161. 25=end [opt] <NavigateJunk>
  162.  
  163. [<Begin>]
  164. <Begin>=begin
  165. <Begin>=beginning
  166. <Begin>=top
  167. <Begin>=start
  168.  
  169. [<NavigateJunk>]
  170. <NavigateJunk>=of [opt] the document
  171.  
  172. [(Choose)]
  173. 30=choose <1..9>
  174.  
  175. [(CorrectionWindow)]
  176. 40=show [opt] the [opt] correction window
  177. 41=hide [opt] the [opt] correction window
  178.  
  179. [(DictationOnOff)]
  180. 50=start dictating
  181. =stop (DictationOnOff2)
  182. 54=start listening for commands
  183.  
  184. [(DictationOnOff2)]
  185. 51=dictating
  186. 51=dictation
  187. 52=listening [opt] (ForCommands)
  188.  
  189. ; adds one to the listening
  190. [(ForCommands)]
  191. 1=for commands
  192.  
  193. [(TypeDate)]
  194. 60=type in [opt] <WhatDate> date
  195. 60=today's date
  196.  
  197. [<WhatDate>]
  198. <WhatDate>=the
  199. <WhatDate>=today's
  200.  
  201. [(Selection)]
  202. =select (Selection2)
  203. 76=un-select [opt] this
  204. 76=de-select [opt] this
  205. 76=no selection
  206. 76=clear selection
  207. 76=de-select [opt] the selection
  208. 77=extend [opt] the selection by <1..99a> (WordUnit) [opt] (ToTheRightLeft)
  209. 77=extend [opt] the selection (ToTheRightLeft) by <1..99a> (WordUnit)
  210. 86=reduce [opt] the selection by <1..99a> (WordUnit) [opt] (FromTheRightLeft)
  211. 86=reduce [opt] the selection (FromTheRightLeft) by <1..99a> (WordUnit)
  212. 108=find next
  213. 109=find previous
  214.  
  215. [(Selection2)]
  216. 69=[opt] this (WordUnit)
  217. 70=(LastPrevious) [opt] <1..99> (WordUnit)
  218. 71=[opt] the next [opt] <1..99> (WordUnit)
  219. 72=[opt] the rest of [opt] (ThisThe) (WordUnit)
  220. 72=to [opt] the end of [opt] (ThisThe) (WordUnit)
  221. 73=to [opt] the end [opt] <NavigateJunk>
  222. 74=to [opt] the <Begin> [opt] <NavigateJunk>
  223. 75=[opt] the first part of [opt] (ThisThe) (WordUnit)
  224. 75=[opt] the start of [opt] (ThisThe) (WordUnit)
  225. 75=to [opt] the <Begin> of [opt] (ThisThe) (WordUnit)
  226. 79=all
  227. 79=[opt] the entire document
  228. 79=[opt] the whole document
  229.  
  230. [(ToTheRightLeft)]
  231. 0=to [opt] the right
  232. 1=to [opt] the left
  233.  
  234. [(FromTheRightLeft)]
  235. 0=from [opt] the right
  236. 1=from [opt] the left
  237.  
  238. [(ThisThe)]
  239. =this
  240. =the
  241.  
  242. [(ChooseMode)]
  243. 90=begin spell mode
  244. 91=end spell mode
  245.  
  246. [(ChangeSelect)]
  247. ;101=select ...2
  248. ;101=correct ...2
  249. ;101=corrected ...2
  250. ; Won't recognize properly: 102=(Caps) ... 2
  251. 103=go to ...2
  252. 104=search for ...2
  253.  
  254. [(Spelling)]
  255. 120=type in [1+] <SpellCharAlpha>
  256. 120=type in [1+] <SpellChar>
  257. 121=insert <1..99a> ":" <SpellChar>
  258. 121=insert <1..99a> ":" <SpellCharAlpha>
  259.  
  260. [<SpellChar>]
  261. <SpellChar>=capital <CapLetter>
  262. <SpellChar>=<LowerLetter>
  263. <SpellChar>=<Symbol>
  264. <SpellChar>=<Spell0..9>
  265. <CapLetter>=A. "A"
  266. <CapLetter>=B. "B"
  267. <CapLetter>=C. "C"
  268. <CapLetter>=D. "D"
  269. <CapLetter>=E. "E"
  270. <CapLetter>=F. "F"
  271. <CapLetter>=G. "G"
  272. <CapLetter>=H. "H"
  273. <CapLetter>=I. "I"
  274. <CapLetter>=J. "J"
  275. <CapLetter>=K. "K"
  276. <CapLetter>=L. "L"
  277. <CapLetter>=M. "M"
  278. <CapLetter>=N. "N"
  279. <CapLetter>=O. "O"
  280. <CapLetter>=P. "P"
  281. <CapLetter>=Q. "Q"
  282. <CapLetter>=R. "R"
  283. <CapLetter>=S. "S"
  284. <CapLetter>=T. "T"
  285. <CapLetter>=U. "U"
  286. <CapLetter>=V. "V"
  287. <CapLetter>=W. "W"
  288. <CapLetter>=X. "X"
  289. <CapLetter>=Y. "Y"
  290. <CapLetter>=Z. "Z"
  291. <LowerLetter>=A. "a"
  292. <LowerLetter>=B. "b"
  293. <LowerLetter>=C. "c"
  294. <LowerLetter>=D. "d"
  295. <LowerLetter>=E. "e"
  296. <LowerLetter>=F. "f"
  297. <LowerLetter>=G. "g"
  298. <LowerLetter>=H. "h"
  299. <LowerLetter>=I. "i"
  300. <LowerLetter>=J. "j"
  301. <LowerLetter>=K. "k"
  302. <LowerLetter>=L. "l"
  303. <LowerLetter>=M. "m"
  304. <LowerLetter>=N. "n"
  305. <LowerLetter>=O. "o"
  306. <LowerLetter>=P. "p"
  307. <LowerLetter>=Q. "q"
  308. <LowerLetter>=R. "r"
  309. <LowerLetter>=S. "s"
  310. <LowerLetter>=T. "t"
  311. <LowerLetter>=U. "u"
  312. <LowerLetter>=V. "v"
  313. <LowerLetter>=W. "w"
  314. <LowerLetter>=X. "x"
  315. <LowerLetter>=Y. "y"
  316. <LowerLetter>=Z. "z"
  317.  
  318. [<SpellCharAlpha>]
  319. <SpellCharAlpha>=capital <CapLetterAlpha>
  320. <SpellCharAlpha>=<LowerLetterAlpha>
  321. <SpellCharAlpha>=<Symbol>
  322. <SpellCharAlpha>=<Spell0..9>
  323. <CapLetterAlpha>=alpha "A"
  324. <CapLetterAlpha>=bravo "B"
  325. <CapLetterAlpha>=charlie "C"
  326. <CapLetterAlpha>=delta "D"
  327. <CapLetterAlpha>=echo "E"
  328. <CapLetterAlpha>=foxtrot "F"
  329. <CapLetterAlpha>=golf "G"
  330. <CapLetterAlpha>=hotel "H"
  331. <CapLetterAlpha>=india "I"
  332. <CapLetterAlpha>=juliet "J"
  333. <CapLetterAlpha>=kilo "K"
  334. <CapLetterAlpha>=lima "L"
  335. <CapLetterAlpha>=leema "L"
  336. <CapLetterAlpha>=mike "M"
  337. <CapLetterAlpha>=november "N"
  338. <CapLetterAlpha>=oscar "O"
  339. <CapLetterAlpha>=papa "P"
  340. <CapLetterAlpha>=quebec "Q"
  341. <CapLetterAlpha>=romeo "R"
  342. <CapLetterAlpha>=sierra "S"
  343. <CapLetterAlpha>=tango "T"
  344. <CapLetterAlpha>=uniform "U"
  345. <CapLetterAlpha>=victor "V"
  346. <CapLetterAlpha>=whiskey "W"
  347. <CapLetterAlpha>=x-ray "X"
  348. <CapLetterAlpha>=yankee "Y"
  349. <CapLetterAlpha>=zulu "Z"
  350. <LowerLetterAlpha>=alpha "a"
  351. <LowerLetterAlpha>=bravo "b"
  352. <LowerLetterAlpha>=charlie "c"
  353. <LowerLetterAlpha>=delta "d"
  354. <LowerLetterAlpha>=echo "e"
  355. <LowerLetterAlpha>=foxtrot "f"
  356. <LowerLetterAlpha>=golf "g"
  357. <LowerLetterAlpha>=hotel "h"
  358. <LowerLetterAlpha>=india "i"
  359. <LowerLetterAlpha>=juliett "j"
  360. <LowerLetterAlpha>=kilo "k"
  361. <LowerLetterAlpha>=lima "l"
  362. <LowerLetterAlpha>=leema "l"
  363. <LowerLetterAlpha>=mike "m"
  364. <LowerLetterAlpha>=november "n"
  365. <LowerLetterAlpha>=oscar "o"
  366. <LowerLetterAlpha>=papa "p"
  367. <LowerLetterAlpha>=quebec "q"
  368. <LowerLetterAlpha>=romeo "r"
  369. <LowerLetterAlpha>=sierra "s"
  370. <LowerLetterAlpha>=tango "t"
  371. <LowerLetterAlpha>=uniform "u"
  372. <LowerLetterAlpha>=victor "v"
  373. <LowerLetterAlpha>=whiskey "w"
  374. <LowerLetterAlpha>=x-ray "x"
  375. <LowerLetterAlpha>=yankee "y"
  376. <LowerLetterAlpha>=zulu "z"
  377.  
  378. [<Spell0..9>]
  379. <Spell0..9>=zero "0"
  380. <Spell0..9>=one "1"
  381. <Spell0..9>=two "2"
  382. <Spell0..9>=three "3"
  383. <Spell0..9>=four "4"
  384. <Spell0..9>=five "5"
  385. <Spell0..9>=six "6"
  386. <Spell0..9>=seven "7"
  387. <Spell0..9>=eight "8"
  388. <Spell0..9>=nine "9"
  389.  
  390. [<Symbol>]
  391. <Symbol>=tilde "~"
  392. <Symbol>=exclamation-point "!"
  393. <Symbol>=bang "!"
  394. <Symbol>=at symbol "@"
  395. <Symbol>=at sign "@"
  396. <Symbol>=number sign "#"
  397. <Symbol>=pound sign "#"
  398. <Symbol>=dollar sign "$"
  399. <Symbol>=percent [opt] sign "%"
  400. <Symbol>=caret "^"
  401. <Symbol>=ampersand "&"
  402. <Symbol>=asterisk "*"
  403. <Symbol>=open paren "("
  404. <Symbol>=close paren ")"
  405. <Symbol>=left-paren "("
  406. <Symbol>=open paren "("
  407. <Symbol>=close angle ">"
  408. <Symbol>=open angle "<"
  409. <Symbol>=greater than ">"
  410. <Symbol>=less than "<"
  411. <Symbol>=underline "_"
  412. <Symbol>=underscore "_"
  413. <Symbol>=dash "-"
  414. <Symbol>=minus "-"
  415. <Symbol>=plus [opt] sign "+"
  416. <Symbol>=equals "="
  417. <Symbol>=open brace "{"
  418. <Symbol>=close brace "}"
  419. <Symbol>=open bracket "["
  420. <Symbol>=close bracket "]"
  421. <Symbol>=vertical bar "|"
  422. <Symbol>=back-slash "\"
  423. <Symbol>=slash "/"
  424. <Symbol>=space " "
  425. <Symbol>=tab "    "
  426.  
  427. [(Bullets)]
  428. 140=bullet item "-"
  429. 140=item <1..99> "."
  430.  
  431. [(Move)]
  432. =move [opt] the selection (MoveWhere)
  433.  
  434. [(MoveWhere)]
  435. 150=(Back) <1..99a> (WordUnit)
  436. 150=up <1..99a> (WordUnit)
  437. 151=(Forward) <1..99a> (WordUnit)
  438. 151=down <1..99a> (WordUnit)
  439. 152=to [opt] the <Begin> of [opt] the (WordUnit)
  440. 154=to [opt] the end of [opt] the (WordUnit)
  441. 155=to [opt] the <Begin> [opt] <NavigateJunk>
  442. 156=to [opt] the end [opt] <NavigateJunk>
  443.